package com.bootdo.check.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.check.dao.VideoDao;
import com.bootdo.check.domain.VideoDO;
import com.bootdo.check.service.VideoService;



@Service
public class VideoServiceImpl implements VideoService {
	@Autowired
	private VideoDao videoDao;
	
	@Override
	public VideoDO get(Integer idvideo){
		return videoDao.get(idvideo);
	}
	
	@Override
	public List<VideoDO> list(Map<String, Object> map){
		return videoDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return videoDao.count(map);
	}
	
	@Override
	public int count2(Map<String, Object> map){
		return videoDao.count2(map);
	}
	
	@Override
	public int save(VideoDO video){
		return videoDao.save(video);
	}
	
	@Override
	public int update(VideoDO video){
		return videoDao.update(video);
	}
	
	@Override
	public int remove(Integer idvideo){
		return videoDao.remove(idvideo);
	}
	
	@Override
	public int batchRemove(Integer[] idvideos){
		return videoDao.batchRemove(idvideos);
	}
	
}
